package com.blustc.detect.ane.androino;


import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

public class HeadSetPlugListener extends BroadcastReceiver {
    @Override
    public void onReceive(Context context, Intent intent) {
        if (intent.hasExtra("state")) {
            if (intent.getIntExtra("state", 2) == 0) {

            } else if (intent.getIntExtra("state", 2) == 1) {
            }
        }
    }
}
